package com.jia.product.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;

import java.io.Serializable;

/**
 * spu图片(SpuImages)表实体类
 *
 * @author makejava
 * @since 2025-07-08 18:15:28
 */
@Getter
@SuppressWarnings("serial")
@TableName("pms_spu_images")
public class SpuImages extends Model<SpuImages> {
    //id
    @TableId
    private Long id;
    //spu_id
    private Long spuId;
    //图片名
    private String imgName;
    //图片地址
    private String imgUrl;
    //顺序
    private Integer imgSort;
    //是否默认图
    private Integer defaultImg;


    public void setId(Long id) {
        this.id = id;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public void setImgName(String imgName) {
        this.imgName = imgName;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public void setImgSort(Integer imgSort) {
        this.imgSort = imgSort;
    }

    public void setDefaultImg(Integer defaultImg) {
        this.defaultImg = defaultImg;
    }

}

